package ua.com.globallogic.training.subway;

public class SubwayCardFactory {

    public SubwayCard getSubwayCard(TimeBoundCardState state) {
        return new TimeBoundCard(state);
    }

    public SubwayCard getSubwayCard(TripsBoundCardState state) {
        return new TripsBoundCard(state);
    }

    public SubwayCard getSubwayCard(AccumulativeCardState state) {
        return new AccumulativeCard(state);
    }

}
